<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
	<head>
		<title>订单信息</title>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

		<script type="application/x-javascript">
			addEventListener("load", function() {
				setTimeout(hideURLbar, 0);
			}, false);

			function hideURLbar() {
				window.scrollTo(0, 1);
			}
		</script>
		<link rel="stylesheet" href="./css/index.css" type="text/css" media="all">
	</head>
	<body>

		<h1>订&nbsp;单&nbsp;信&nbsp;息</h1>
		<div class="container">
			<div class="register">
				<h3>&nbsp;</h3>
				<form action='<c:url value="orderConfirm"/>' method="post">
					<span style="color: gray;">订单编号：</span><input type="text" Name="orderNumber" readonly="readonly" value="${order.orderNumber}">
					<br />
					<span style="color: gray;">用户姓名：</span><input type="text" Name="customerName" readonly="readonly" value="${order.customerName}">
					<br />
					<span style="color: gray;">用户电话：</span><input type="text" Name="customerPhone" readonly="readonly" value="${order.customerPhone}">
					<br />
					<span style="color: gray;">身份证号：</span><input type="text" Name="customerIdcard" readonly="readonly" value="${order.customerIdcard}">
					<br />
					<span style="color: gray;">房间编号：</span><input type="text" Name="roomNumber" readonly="readonly" value="${order.roomNumber}">
					<br />
					<span style="color: gray;">房间类型：</span><input type="text" Name="roomNumber" readonly="readonly" value="${type}">
					<br />
					<span style="color: gray;">订单价格：</span><input type="text" Name="price" readonly="readonly" value="${order.price}">
					<br />
					<span style="color: gray;">入住时间：</span><input type="text" Name="inTime" readonly="readonly" value="${order.inTime}">
					<br />
					<span style="color: gray;">退房时间：</span><input type="text" Name="outTime" readonly="readonly" value="${order.outTime}">
					<br />

					<div class="send-button">
						<input type="submit" value="确认订单">
					</div>
				</form>
				<div class="tran">
					<div class="to_login">
						<a href="<c:url value="bookRoom"/>">取消</a>
					</div>
				</div>

			</div>

			<div class="clear"></div>

		</div>


	</body>
</html>
